package com.luying.service;

import com.luying.pojo.PageQuery;
import com.luying.pojo.PageResult;
import com.luying.pojo.User;

public interface UserService {
    int add(User user) throws Exception;

    int update(User user);

    PageResult query(PageQuery pageQuery);

    User queryOne(Integer id);

    int delete(Integer id);

    PageResult studentClassList(PageQuery pageQuery);

    void studentClassUpdate(Integer studentId, Integer classId);
}
